package bandidong.dao;

import bandidong.model.Company;
import java.util.List;

public interface CompanyDAO {
    public List<Company> getAllCompanies();
    public Company getCompanyById(int companyId);
    public List<Company> getAllCompanies(int page, int pageSize);
    public boolean checkExists(String companyName, int companyId);
    public String addCompany(Company company);
    public String updateCompany(Company company);
    public String deleteCompany(Company company);
    public Company getCompanyByName(String companyName);
}
